package com.young.springdemo.service.abstractFactory;

public class SpringSkinFactory implements SkinFactory {
    @Override
    public Button createButton() {
        return new SpringButton();
    }

    @Override
    public CheckBox createCheckBox() {
        return new SpringCheckBox();
    }

    @Override
    public TextField createTextField() {
        return new SpringTextField();
    }

    @Override
    public Combox createCombox() {
        return new SpringCombox();
    }
}
